#include<stdio.h>
#include"parity.h"

int main(void)
{
	int number_A;
	int is_parity;
	printf("Input a number: ");
	scanf("%d", &number_A);
	is_parity = parity_check(number_A);
	if (is_parity == 1)	//是奇数
	{
		printf("The number you input : %d is parity\n", number_A);
	}
	else//是偶数
	{
		printf("The number you input : %d is even\n", number_A);
	}
	return 0;
}